<div class="toolbar">
    <h4>Prism.js</h4>
    <p>
        <span>支持</span>
        <code> html</code>,
        <code>typescript</code>,
        <code>javascript</code>,
        <code>xml</code>,
        <code>css</code> 等高亮显示，更多语言支持请参考
        <a href="https://prismjs.com" target="_blank">官方文档</a></p>
</div>
<div class="card m-2">
    <div class="card-header">简单例子</div>
    <div class="card-body">
        <ts-prism [code]="typescript"></ts-prism>
    </div>
</div>